/* 页面主体*/

.all-contain {
    background-color: #f2f2f2;
}

.content {
    width: calc(100% - 96px);
    min-width: 1000px;
    margin: 24px auto 0 auto;
    height: calc(100% - 90px);
    min-height: 500px;
    box-sizing: border-box;
    background-color: #fff;
}

.content-title {
    width: 100%;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    padding: 0 16px;
    background-color: #e2e2e2;
}

.main-left {
    width: calc(100% - 360px);
    height: calc(100% - 45px);
    padding: 16px;
    float: left;
}

.main-right {
    width: 360px;
    height: calc(100% - 45px);
    float: left;
    padding: 16px 16px 16px 16px;
    /*background-color: blue;*/
}

.cale-title {
    width: 100%;
    height: auto;
    line-height: 30px;
    margin-bottom: 16px;
}

.cale-title>span {
    display: inline-block;
}


/* 上一月 下一月*/

.cale-title>span:nth-child(1),
.cale-title>span:nth-child(2) {
    width: 40px;
    height: 100%;
    background-color: #eee;
    text-align: center;
    float: left;
    color: #c2c2c2;
    cursor: pointer;
}

.cale-title>span:nth-child(1):hover,
.cale-title>span:nth-child(2):hover {
    color: #fff;
    background-color: #23c0fa;
}

.cale-title>span:nth-child(1) {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-right: 1px solid #ccc;
}

.cale-title>span:nth-child(2) {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-right: 24px;
}


/* 今天 */

.cale-title>span:nth-child(3) {
    width: 50px;
    text-align: center;
    font-size: 14px;
    background-color: #23c0fa;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.cale-title>span:nth-child(3):hover {
    background-color: #4fcdfb;
}


/* 年 月 */


/* 快速选择日期的表格 */

.fast-select-date {
    width: 160px;
    margin-left: 80px;
    display: inline-block;
    position: absolute;
    cursor: pointer;
    user-select: none;
}

.fast-select-date>span {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 0 16px;
    border-radius: 6px;
    height: inherit;
    border: 1px solid #ccc;
    color: #a2a2a2;
    display: inline-block;
    /*background-color: #23c0fa;*/
}

.fast-select-date>span:hover {
    border-color: #23c0fa;
}

.fast-select-date>span>i {
    color: #b2b2b2;
    margin-left: 30px;
}

.fast-select-date table {
    width: 100%;
    margin-top: 2px;
    /*opacity: .8;*/
    color: #777;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    border-collapse: separate;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .12);
    background-color: #fff;
}

.fast-select-date table td {
    text-align: center;
    /*border: 1px solid #c2c2c2;*/
}

.fast-select-date table tbody td {
    border-top: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
}

.fast-select-date table tbody tr td:last-child {
    border-right: none;
}

.fast-select-date table td:hover {
    background-color: #eee;
}


/*日历表格*/

.cale-style {
    width: 100%;
    height: calc(100% - 31px);
    cursor: pointer;
    padding-bottom: 16px;
    border-collapse: collapse;
    user-select: none;
}

.cale-style td {
    border: 1px solid #ddd;
}

.cale-style thead td {
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #f2f2f2;
}

.cale-style tbody td {
    /*line-height: auto;*/
}

.cale-style tbody td:hover {
    background-color: #f2f2f2;
}


/* 日期 的天 */

.cale-style tbody td>div {
    width: 100%;
    height: 100%;
}

.cale-style tbody td>div>div:nth-child(1) {
    padding: 2px 5px 0 0;
    text-align: right;
}


/* 每天安排的数量*/

@media screen and (max-height: 700px) and (min-height: 500px) {
    .cale-style tbody td>div>div:nth-child(2) {
        clear: both;
        margin-top: 12%;
    }
}

@media screen and (max-height: 800px) and (min-height: 701px) {
    .cale-style tbody td>div>div:nth-child(2) {
        clear: both;
        margin-top: 20%;
    }
}

@media screen and (min-height: 801px) {
    .cale-style tbody td>div>div:nth-child(2) {
        clear: both;
        margin-top: 25%;
    }
}


/* 已用 */

.cale-style tbody td>div>div:nth-child(2)>span:nth-child(1) {
    font-size: 16px;
    min-width: 29px;
    font-weight: bold;
    display: inline-block;
    text-align: right;
}


/* 总数 */

.cale-style tbody td>div>div:nth-child(2)>span:nth-child(2) {
    font-size: 13px;
}


/* 今天的样式 */

.cale-isThisDay {
    background-color: #4fcdfb;
}


/*当前月期限样式*/

.cale-notThisMonth {
    color: #c2c2c2 !important;
}


/* 表格中无人 */

.cale-none {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #ccc;
    color: #aaa;
    padding: 0 0 0 8px;
    border-radius: 4px;
    background-color: #fff;
}


/* 表格中档期有余 */

.cale-hasMore {
    width: 80%;
    margin: 0 auto;
    color: #fff;
    padding: 0 0 0 8px;
    border-radius: 4px;
    background-color: #58B7FF;
}


/* 表格中档期已满 */

.cale-isOver {
    width: 80%;
    margin: 0 auto;
    color: #f2f2f2;
    padding: 0 0 0 8px;
    border-radius: 4px;
    /*background-color: #FCB322;*/
    background-color: #FF6C60;
}


/* 右边提示*/

.caption {
    width: 100%;
    height: auto;
    padding-bottom: 8px;
}


/* 档期说明 */

.caption>div:first-child {
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
}

.caption>ul {
    width: 100%;
}

.caption>ul>li {
    width: 25%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    margin: 8px 0;
    box-sizing: border-box;
    cursor: pointer;
}

.caption>ul>li:nth-child(1) {
    border: 1px solid #ccc;
    color: #aaa;
    border-radius: 4px;
    background-color: #fff;
}


/* 档期 有余*/

.caption>ul>li:nth-child(2) {
    color: #fff;
    border-radius: 4px;
    background-color: #58B7FF;
}


/* 档期已满 */

.caption>ul>li:nth-child(3) {
    color: #fff;
    border-radius: 4px;
    background-color: #FF6C60;
}


/* 操作记录 */

.record-style {
    width: 100%;
    height: calc(100% - 140px);
    padding-bottom: 16px;
}

.record-style ul {
    max-height: 100%;
    overflow: auto;
}

.record-style ul::-webkit-scrollbar {
    /* 整个滚动条的样式 */
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background-color: #eee;
}

.record-style ul::-webkit-scrollbar-thumb {
    /* 滚动条中间滚动的颜色 */
    border-radius: 6px;
    background-color: #c2c2c2;
}

.record-style>div:first-child {
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 8px;
    color: #333;
    cursor: pointer;
}


/*查看更多*/

.record-style>div>span:last-child {
    padding-right: 8px;
    font-size: 14px;
    color: #333;
    float: right;
    cursor: pointer;
}

.record-style>div>span:last-child:hover {
    color: #23c0fa;
}

.record-style ul li {
    width: 100%;
    height: 35px;
    font-size: 15px;
    color: #717171;
    padding: 0 0 0 8px;
    line-height: 35px;
    box-sizing: border-box;
    cursor: pointer;
}

.record-style>ul>li:hover {
    background-color: #f8f8f8;
}

.record-style ul li:nth-child(even) {
    background-color: #f8f8f8;
}
